package com.c1.client.menu.item.num;

import com.c1.client.Frame;
import com.c1.client.menu.item.MItem;
import com.c1.client.pan.Pans;
import com.s.core.root.As;

public abstract class NUM_MItem extends MItem {

    public abstract int p();

    @Override
    public void process() {
        As.me().update(Pans.me().getCurrentPan().code(false), p());
        Frame.me().setTitle(Pans.me().titleMessage());
    }

    @Override
    public boolean needCodePics() {
        return true;
    }
}
